package com.szs.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.szs.common.R;
import com.szs.dto.DishDto;
import com.szs.pojo.Dish;

import java.util.List;

public interface DishService extends IService<Dish> {
    R<DishDto> saveWithFlavor(DishDto dishDto);

    R<Page> page(int page, int pageSize, String name);

    R<String> remove(List<Long> ids);

    R<String> saleStatus(int type, List<Long> ids);
}
